#include "xSocketServer.h"
#include "xSocket.h"
#include <QVariant>
#include <xTitanClient/xTitan.hpp>

xSocketServer::~xSocketServer(void)
{
}

xSocketServer::xSocketServer( int port, int connections, TypeSocket type/*=BlockingSocket*/ )
	:SocketServer(port, connections)
{
	QString msg("[xDivaInitServer]$");
	xRawCommand(XTITAN_SOCKET, QVariant(msg));
}

Socket* xSocketServer::_createSocket( SOCKET socket ){
	return new xSocket(socket);
}


